home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1997 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6d 61 | 69 6c 32 6e 65 77 73 2e |Path: ma|il2news.|
|00000010| 64 65 6d 6f 6e 2e 63 6f | 2e 75 6b 21 67 61 75 73 |demon.co|.uk!gaus|
|00000020| 73 2e 64 65 6d 6f 6e 2e | 63 6f 2e 75 6b 0a 46 72 |s.demon.|co.uk.Fr|
|00000030| 6f 6d 3a 20 41 6e 64 72 | 65 77 20 42 65 6e 6e 65 |om: Andr|ew Benne|
|00000040| 74 74 20 3c 62 65 6e 40 | 67 61 75 73 73 2e 64 65 |tt <ben@|gauss.de|
|00000050| 6d 6f 6e 2e 63 6f 2e 75 | 6b 3e 0a 4e 65 77 73 67 |mon.co.u|k>.Newsg|
|00000060| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 73 79 73 2e |roups: c|omp.sys.|
|00000070| 61 6d 69 67 61 2e 70 72 | 6f 67 72 61 6d 6d 65 72 |amiga.pr|ogrammer|
|00000080| 0a 53 75 62 6a 65 63 74 | 3a 20 44 65 6d 6f 2f 67 |.Subject|: Demo/g|
|00000090| 61 6d 65 20 74 6f 20 4f | 53 20 66 72 69 65 6e 64 |ame to O|S friend|
|000000a0| 6c 79 20 70 61 72 74 20 | 49 49 0a 44 61 74 65 3a |ly part |II.Date:|
|000000b0| 20 32 35 20 4a 61 6e 20 | 39 36 20 32 31 3a 31 39 | 25 Jan |96 21:19|
|000000c0| 3a 31 35 20 47 4d 54 0a | 4d 65 73 73 61 67 65 2d |:15 GMT.|Message-|
|000000d0| 49 44 3a 20 3c 33 31 30 | 38 34 36 62 37 40 67 61 |ID: <310|846b7@ga|
|000000e0| 75 73 73 2e 64 65 6d 6f | 6e 2e 63 6f 2e 75 6b 3e |uss.demo|n.co.uk>|
|000000f0| 0a 58 2d 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |.X-NNTP-|Posting-|
|00000100| 48 6f 73 74 3a 20 67 61 | 75 73 73 2e 64 65 6d 6f |Host: ga|uss.demo|
|00000110| 6e 2e 63 6f 2e 75 6b 0a | 58 2d 46 54 4e 2d 54 6f |n.co.uk.|X-FTN-To|
|00000120| 3a 20 4a 6f 68 6e 20 48 | 65 6e 64 72 69 6b 78 0a |: John H|endrikx.|
|00000130| 4d 49 4d 45 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |MIME-Ver|sion: 1.|
|00000140| 30 0a 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 |0.Conten|t-Type: |
|00000150| 74 65 78 74 2f 70 6c 61 | 69 6e 3b 20 63 68 61 72 |text/pla|in; char|
|00000160| 73 65 74 3d 69 73 6f 2d | 38 38 35 39 2d 31 0a 43 |set=iso-|8859-1.C|
|00000170| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000180| 45 6e 63 6f 64 69 6e 67 | 3a 20 38 62 69 74 0a 58 |Encoding|: 8bit.X|
|00000190| 2d 47 61 74 65 53 6f 66 | 74 77 61 72 65 3a 20 41 |-GateSof|tware: A|
|000001a0| 6d 69 47 61 74 65 20 31 | 2e 35 62 20 28 32 37 2e |miGate 1|.5b (27.|
|000001b0| 39 2e 39 35 29 0a 58 2d | 4d 61 69 6c 32 4e 65 77 |9.95).X-|Mail2New|
|000001c0| 73 2d 50 61 74 68 3a 20 | 72 65 6c 61 79 2d 34 2e |s-Path: |relay-4.|
|000001d0| 6d 61 69 6c 2e 64 65 6d | 6f 6e 2e 6e 65 74 21 70 |mail.dem|on.net!p|
|000001e0| 6f 73 74 2e 64 65 6d 6f | 6e 2e 63 6f 2e 75 6b 21 |ost.demo|n.co.uk!|
|000001f0| 67 61 75 73 73 2e 64 65 | 6d 6f 6e 2e 63 6f 2e 75 |gauss.de|mon.co.u|
|00000200| 6b 0a 0a 49 6e 20 61 20 | 6d 65 73 73 61 67 65 20 |k..In a |message |
|00000210| 6f 66 20 32 33 20 4a 61 | 6e 20 39 36 20 4a 6f 68 |of 23 Ja|n 96 Joh|
|00000220| 6e 20 48 65 6e 64 72 69 | 6b 78 20 77 72 6f 74 65 |n Hendri|kx wrote|
|00000230| 20 74 6f 20 41 6c 6c 3a | 0a 0a 20 4a 48 3e 20 49 | to All:|.. JH> I|
|00000240| 20 64 6f 6e 27 74 20 74 | 68 69 6e 6b 20 27 73 63 | don't t|hink 'sc|
|00000250| 61 6e 6e 69 6e 67 27 20 | 74 68 65 20 64 61 74 61 |anning' |the data|
|00000260| 62 61 73 65 20 73 68 6f | 75 6c 64 20 62 65 63 6f |base sho|uld beco|
|00000270| 6d 65 20 63 6f 6d 6d 6f | 6e 20 61 6d 6f 6e 67 0a |me commo|n among.|
|00000280| 20 4a 48 3e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | JH> app|lication|
|00000290| 73 2c 20 73 6f 20 61 20 | 67 6f 6f 64 20 73 6f 6c |s, so a |good sol|
|000002a0| 75 74 69 6f 6e 20 73 68 | 6f 75 6c 64 20 62 65 20 |ution sh|ould be |
|000002b0| 6f 66 66 65 72 65 64 2e | 20 20 41 74 20 74 68 65 |offered.| At the|
|000002c0| 20 6d 6f 6d 65 6e 74 20 | 74 68 65 0a 20 4a 48 3e | moment |the. JH>|
|000002d0| 20 64 69 73 70 6c 61 79 | 20 64 61 74 61 62 61 73 | display| databas|
|000002e0| 65 20 64 6f 65 73 20 6e | 6f 74 20 74 65 6c 6c 20 |e does n|ot tell |
|000002f0| 79 6f 75 20 77 68 65 74 | 68 65 72 20 61 20 73 63 |you whet|her a sc|
|00000300| 72 65 65 6e 20 69 73 20 | 43 68 75 6e 6b 79 20 6f |reen is |Chunky o|
|00000310| 72 20 50 6c 61 6e 61 72 | 2c 0a 20 4a 48 3e 20 6f |r Planar|,. JH> o|
|00000320| 72 20 77 68 65 74 68 65 | 72 20 69 74 73 20 6c 61 |r whethe|r its la|
|00000330| 79 6f 75 74 20 69 73 20 | 42 47 52 20 6f 72 20 52 |yout is |BGR or R|
|00000340| 47 42 20 61 6e 64 20 73 | 6f 20 6f 6e 2e 2e 2e 20 |GB and s|o on... |
|00000350| 77 65 20 6e 65 65 64 20 | 6d 6f 72 65 20 69 6e 66 |we need |more inf|
|00000360| 6f 20 66 72 6f 6d 0a 20 | 4a 48 3e 20 74 68 65 20 |o from. |JH> the |
|00000370| 64 61 74 61 2d 62 61 73 | 65 20 61 6e 64 20 61 20 |data-bas|e and a |
|00000380| 62 65 74 74 65 72 20 77 | 61 79 20 74 6f 20 67 65 |better w|ay to ge|
|00000390| 74 20 74 68 61 74 20 69 | 6e 66 6f 2e 0a 0a 20 59 |t that i|nfo... Y|
|000003a0| 65 70 2e 20 42 61 73 69 | 63 61 6c 6c 79 20 74 68 |ep. Basi|cally th|
|000003b0| 65 72 65 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |ere need|s to be |
|000003c0| 61 20 73 74 61 6e 64 61 | 72 64 20 77 61 79 20 6f |a standa|rd way o|
|000003d0| 66 20 73 70 65 63 69 66 | 79 69 6e 67 20 64 69 73 |f specif|ying dis|
|000003e0| 70 6c 61 79 0a 70 72 6f | 70 65 72 74 69 65 73 2e |play.pro|perties.|
|000003f0| 2e 20 54 68 65 72 65 20 | 77 61 73 20 61 6e 20 69 |. There |was an i|
|00000400| 6e 74 65 72 65 73 74 69 | 6e 67 20 70 6f 73 74 20 |nteresti|ng post |
|00000410| 6f 6e 20 63 6f 6d 70 2e | 67 72 61 70 68 69 63 73 |on comp.|graphics|
|00000420| 2c 61 6c 67 6f 72 69 74 | 68 6d 73 20 6f 6e 20 74 |,algorit|hms on t|
|00000430| 68 69 73 0a 74 6f 70 69 | 63 2e 2e 0a 0a 2a 2a 2a |his.topi|c....***|
|00000440| 20 41 72 65 61 3a 20 63 | 6f 6d 70 2e 67 72 61 70 | Area: c|omp.grap|
|00000450| 68 69 63 73 2e 61 6c 67 | 6f 72 69 74 68 6d 73 20 |hics.alg|orithms |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 44 | | D|
|00000470| 61 74 65 3a 20 32 34 20 | 4a 61 6e 20 39 36 20 32 |ate: 24 |Jan 96 2|
|00000480| 31 3a 31 39 3a 32 38 20 | 2a 2a 2a 0a 46 72 6f 6d |1:19:28 |***.From|
|00000490| 3a 20 56 69 6e 6e 69 65 | 20 46 61 6c 63 6f 20 28 |: Vinnie| Falco (|
|000004a0| 32 3a 39 39 39 2f 39 39 | 2e 30 29 0a 0a 49 4d 48 |2:999/99|.0)..IMH|
|000004b0| 4f 20 74 68 69 73 20 67 | 72 6f 75 70 20 77 6f 75 |O this g|roup wou|
|000004c0| 6c 64 20 67 72 65 61 74 | 6c 79 20 62 65 6e 65 66 |ld great|ly benef|
|000004d0| 69 74 20 66 72 6f 6d 20 | 61 6c 6c 20 61 6e 73 77 |it from |all answ|
|000004e0| 65 72 73 20 63 6f 6e 63 | 65 72 6e 69 6e 67 20 70 |ers conc|erning p|
|000004f0| 69 78 65 6c 20 69 6d 61 | 67 65 73 0a 74 6f 20 62 |ixel ima|ges.to b|
|00000500| 65 20 70 68 72 61 73 65 | 64 20 69 6e 20 74 68 65 |e phrase|d in the|
|00000510| 20 66 6f 72 6d 20 6f 66 | 20 43 20 63 6f 64 65 2c | form of| C code,|
|00000520| 20 77 68 65 72 65 20 69 | 6d 61 67 65 73 20 61 72 | where i|mages ar|
|00000530| 65 20 72 65 70 72 65 73 | 65 6e 74 65 64 20 77 69 |e repres|ented wi|
|00000540| 74 68 20 38 20 62 69 74 | 73 0a 70 65 72 20 63 6f |th 8 bit|s.per co|
|00000550| 6c 6f 72 20 63 6f 6d 70 | 6f 6e 65 6e 74 2c 20 30 |lor comp|onent, 0|
|00000560| 3d 62 6c 61 63 6b 2c 20 | 32 35 35 3d 77 68 69 74 |=black, |255=whit|
|00000570| 65 2e 0a 0a 52 47 42 20 | 3d 20 38 20 62 69 74 73 |e...RGB |= 8 bits|
|00000580| 20 70 65 72 20 52 65 64 | 2c 20 47 72 65 65 6e 2c | per Red|, Green,|
|00000590| 20 61 6e 64 20 42 6c 75 | 65 20 63 6f 6d 70 6f 6e | and Blu|e compon|
|000005a0| 65 6e 74 20 28 74 6f 74 | 61 6c 20 32 34 20 62 69 |ent (tot|al 24 bi|
|000005b0| 74 73 29 20 43 4d 59 4b | 20 3d 20 38 20 62 69 74 |ts) CMYK| = 8 bit|
|000005c0| 73 0a 70 65 72 20 43 79 | 61 6e 2c 20 4d 61 67 65 |s.per Cy|an, Mage|
|000005d0| 6e 74 61 2c 20 59 65 6c | 6c 6f 77 2c 20 42 6c 61 |nta, Yel|low, Bla|
|000005e0| 63 6b 20 63 6f 6d 70 6f | 65 6e 65 6e 74 73 20 28 |ck compo|enents (|
|000005f0| 74 6f 74 61 6c 20 33 32 | 20 62 69 74 73 29 20 4c |total 32| bits) L|
|00000600| 61 62 20 3d 20 38 20 62 | 69 74 73 20 70 65 72 0a |ab = 8 b|its per.|
|00000610| 4c 2c 20 61 2c 20 62 2c | 20 77 69 74 68 20 4c 3d |L, a, b,| with L=|
|00000620| 32 35 35 20 6d 65 61 6e | 69 6e 67 20 31 30 30 20 |255 mean|ing 100 |
|00000630| 69 6e 20 74 68 65 20 75 | 73 75 61 6c 20 73 65 6e |in the u|sual sen|
|00000640| 73 65 2c 0a 20 20 61 6e | 64 20 77 69 74 68 20 61 |se,. an|d with a|
|00000650| 20 61 6e 64 20 62 20 62 | 65 69 6e 67 20 75 6e 73 | and b b|eing uns|
|00000660| 69 67 6e 65 64 20 63 68 | 61 72 61 63 74 65 72 73 |igned ch|aracters|
|00000670| 2c 20 30 2e 2e 32 35 35 | 20 6d 61 70 73 20 74 6f |, 0..255| maps to|
|00000680| 20 74 68 65 20 72 61 6e | 67 65 0a 20 20 2d 31 32 | the ran|ge. -12|
|00000690| 37 2e 2e 31 32 37 20 77 | 69 74 68 20 31 32 38 20 |7..127 w|ith 128 |
|000006a0| 72 65 70 72 65 73 65 6e | 74 69 6e 67 20 61 20 6f |represen|ting a o|
|000006b0| 72 20 62 20 6f 66 20 7a | 65 72 6f 2e 20 47 72 61 |r b of z|ero. Gra|
|000006c0| 79 73 63 61 6c 65 20 3d | 20 38 20 62 69 74 73 20 |yscale =| 8 bits |
|000006d0| 66 6f 72 20 42 6c 61 63 | 6b 0a 28 74 6f 74 61 6c |for Blac|k.(total|
|000006e0| 20 38 20 62 69 74 73 29 | 2e 0a 0a 4d 6f 73 74 20 | 8 bits)|...Most |
|000006f0| 69 6d 61 67 65 73 20 69 | 6e 20 6d 65 6d 6f 72 79 |images i|n memory|
|00000700| 20 63 61 6e 20 62 65 20 | 6c 61 69 64 20 6f 75 74 | can be |laid out|
|00000710| 20 69 6e 20 61 6e 79 20 | 66 6f 72 6d 61 74 20 28 | in any |format (|
|00000720| 69 6e 74 65 72 6c 65 61 | 76 65 64 2c 20 70 6c 61 |interlea|ved, pla|
|00000730| 6e 61 72 2c 0a 65 74 63 | 2e 2e 2e 29 20 0a 75 73 |nar,.etc|...) .us|
|00000740| 69 6e 67 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ing the |followin|
|00000750| 67 20 76 61 72 69 61 62 | 6c 65 73 20 3a 0a 0a 62 |g variab|les :..b|
|00000760| 61 73 65 41 64 64 72 20 | 3d 20 70 6f 69 6e 74 65 |aseAddr |= pointe|
|00000770| 72 20 74 6f 20 74 68 65 | 20 66 69 72 73 74 20 70 |r to the| first p|
|00000780| 6c 61 6e 65 20 6f 66 20 | 74 68 65 20 66 69 72 73 |lane of |the firs|
|00000790| 74 20 72 6f 77 20 6f 66 | 20 74 68 65 20 66 69 72 |t row of| the fir|
|000007a0| 73 74 20 63 6f 6c 75 6d | 6e 0a 72 6f 77 42 79 74 |st colum|n.rowByt|
|000007b0| 65 73 20 3d 20 6e 75 6d | 62 65 72 20 6f 66 20 62 |es = num|ber of b|
|000007c0| 79 74 65 73 20 70 65 72 | 20 72 6f 77 20 6f 66 20 |ytes per| row of |
|000007d0| 70 69 78 65 6c 73 20 63 | 6f 6c 42 79 74 65 73 20 |pixels c|olBytes |
|000007e0| 3d 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 79 74 65 |= number| of byte|
|000007f0| 73 20 70 65 72 0a 63 6f | 6c 75 6d 6e 20 6f 66 20 |s per.co|lumn of |
|00000800| 70 69 78 65 6c 73 20 70 | 6c 61 6e 65 42 79 74 65 |pixels p|laneByte|
|00000810| 73 20 3d 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 79 |s = numb|er of by|
|00000820| 74 65 73 20 62 65 74 77 | 65 65 6e 20 6f 6e 65 20 |tes betw|een one |
|00000830| 70 6c 61 6e 65 20 6f 66 | 20 63 6f 6c 6f 72 20 64 |plane of| color d|
|00000840| 61 74 61 0a 61 6e 64 20 | 74 68 65 20 6e 65 78 74 |ata.and |the next|
|00000850| 2e 0a 0a 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |...For e|xample, |
|00000860| 61 6e 20 52 47 42 20 69 | 6e 74 65 72 6c 65 61 76 |an RGB i|nterleav|
|00000870| 65 64 20 69 6d 61 67 65 | 20 63 61 6e 20 62 65 20 |ed image| can be |
|00000880| 72 65 70 72 65 73 65 6e | 74 65 64 20 6c 69 6b 65 |represen|ted like|
|00000890| 20 74 68 69 73 20 3a 20 | 72 6f 77 42 79 74 65 73 | this : |rowBytes|
|000008a0| 20 3d 0a 63 6f 6c 75 6d | 6e 73 20 2a 20 33 0a 63 | =.colum|ns * 3.c|
|000008b0| 6f 6c 42 79 74 65 73 20 | 3d 20 33 0a 70 6c 61 6e |olBytes |= 3.plan|
|000008c0| 65 42 79 74 65 73 20 3d | 20 31 0a 0a 41 6e 20 52 |eBytes =| 1..An R|
|000008d0| 47 42 20 69 6d 61 67 65 | 20 73 74 6f 72 65 64 20 |GB image| stored |
|000008e0| 70 6c 61 6e 61 72 20 28 | 61 6c 6c 20 74 68 65 20 |planar (|all the |
|000008f0| 72 65 64 73 2c 20 74 68 | 65 6e 20 67 72 65 65 6e |reds, th|en green|
|00000900| 73 2c 20 74 68 65 6e 20 | 62 6c 75 65 73 29 20 63 |s, then |blues) c|
|00000910| 61 6e 20 62 65 20 0a 72 | 65 70 72 65 73 65 6e 74 |an be .r|epresent|
|00000920| 65 64 20 6c 69 6b 65 20 | 74 68 69 73 20 3a 0a 72 |ed like |this :.r|
|00000930| 6f 77 42 79 74 65 73 20 | 3d 20 63 6f 6c 75 6d 6e |owBytes |= column|
|00000940| 73 0a 63 6f 6c 42 79 74 | 65 73 20 3d 20 31 0a 70 |s.colByt|es = 1.p|
|00000950| 6c 61 6e 65 42 79 74 65 | 73 20 3d 20 72 6f 77 73 |laneByte|s = rows|
|00000960| 20 2a 20 63 6f 6c 75 6d | 6e 73 0a 0a 45 76 65 6e | * colum|ns..Even|
|00000970| 20 61 20 57 69 6e 64 6f | 77 73 20 73 70 65 63 69 | a Windo|ws speci|
|00000980| 66 69 63 20 52 47 42 20 | 62 69 74 6d 61 70 20 28 |fic RGB |bitmap (|
|00000990| 77 68 69 63 68 20 69 73 | 20 73 74 6f 72 65 64 20 |which is| stored |
|000009a0| 42 47 52 29 20 63 61 6e | 20 62 65 20 72 65 70 72 |BGR) can| be repr|
|000009b0| 65 73 65 6e 74 65 64 0a | 6c 69 6b 65 20 0a 74 68 |esented.|like .th|
|000009c0| 69 73 20 3a 0a 62 61 73 | 65 41 64 64 72 20 3d 20 |is :.bas|eAddr = |
|000009d0| 3c 70 6f 69 6e 74 65 72 | 20 74 6f 20 62 65 67 69 |<pointer| to begi|
|000009e0| 6e 6e 69 6e 67 20 6f 66 | 20 64 61 74 61 3e 20 2b |nning of| data> +|
|000009f0| 20 32 20 72 6f 77 42 79 | 74 65 73 20 3d 20 63 6f | 2 rowBy|tes = co|
|00000a00| 6c 75 6d 6e 73 20 2a 20 | 33 0a 63 6f 6c 42 79 74 |lumns * |3.colByt|
|00000a10| 65 73 20 3d 20 33 0a 70 | 6c 61 6e 65 42 79 74 65 |es = 3.p|laneByte|
|00000a20| 73 20 3d 20 2d 31 0a 0a | 54 68 69 73 20 69 6e 2d |s = -1..|This in-|
|00000a30| 6d 65 6d 6f 72 79 20 66 | 6f 72 6d 61 74 20 63 61 |memory f|ormat ca|
|00000a40| 6e 20 72 65 70 72 65 73 | 65 6e 74 20 74 68 65 20 |n repres|ent the |
|00000a50| 76 61 73 74 20 6d 61 6a | 6f 72 69 74 79 20 6f 66 |vast maj|ority of|
|00000a60| 20 69 6d 61 67 65 20 66 | 6f 72 6d 61 74 73 2e 0a | image f|ormats..|
|00000a70| 0a 42 65 6e 2e 2e 2e 20 | 3a 29 0a 0a |.Ben... |:).. |
+--------+-------------------------+-------------------------+--------+--------+